<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>常用联系人</title>
    <link rel="stylesheet" href="../../../css/aui.css" />
    <link rel="stylesheet" href="../../../css/my/sort.css" />
    <link rel="stylesheet" href="../../../css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../css/my/frequenter/index.css" />
</head>

<body>
    <!--  头部 -->
    <header class="aui-bar aui-bar-nav fixed" id="header">
        <a class="aui-pull-left aui-btn" onclick="closeWin();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">常用联系人</div>
        <div class="aui-pull-right aui-btn">
            <span class="icon iconfont icon-tianjialianxiren" onclick="contact_add()"></span>
        </div>
    </header>
</body>
<script type="text/javascript" src="../../../script/aui/api.js"></script>
<script type="text/javascript" src="../../../script/aui/aui-dialog.js"></script>
<script type="text/javascript" src="../../../script/extend/jquery-3.3.1.min.js"></script>
<script src="../../../script/common.js"></script>
<script src="../../../script/extend/jquery.charfirst.pinyin.js"></script>
<script type="text/javascript">
    apiready = function() {
        api.parseTapmode();
        //设置沉浸式
        var header = $api.byId('header');
        $api.fixStatusBar(header);
        var contentHead = api.winHeight - $api.byId('header').offsetHeight;
        api.openFrame({
            name: 'contact_list_frm',
            url: './contact_list_frm.html',
            rect: {
                x: 0,
                y: $api.byId('header').offsetHeight,
                w: 'auto',
                h: contentHead
            },
            pageParam: {
                name: 'test'
            },
            bounces: true,
            bgColor: 'rgba(0,0,0,0)',
            vScrollBarEnabled: true,
            hScrollBarEnabled: true
        });

    };

    function contact_add() {
        openWin("add_contact_frm",'./add_contact_frm.html');
    }
</script>
</html>
